<?php
class models_timkiem extends connect{
	function timloaihang($value){
		$sql = "SELECT MaLH,TenLH
			FROM loaihang
		 WHERE TenLH LIKE '%$value%' ";
		$this->query_db($sql);
		return $this->fetchAll();
	}
	
}